package CartService

import (
	"context"
	"gdshop-back-end-go/client-api/app/request/CartReq"
	"gdshop-back-end-go/common/response"
	"gdshop-back-end-go/service-member/CartService"
)

func Count(ctx context.Context, parames *CartReq.Count) *response.JsonResponse {
	return response.SuccessByRequestMessageData(nil, "成功",
		CartService.BaseCount(ctx, parames.MemberId))
}
